MyTermMsgHandler
Handles terminal messages passed to it by the Telephone Manager.
pascal void MyTermMsgHandler ( TELHandle hTEL, long msg, short mtype, short value, long globals);
hTEL
- A handle to the telephone record associated with the terminal that originated the message. The telephone record is described in "Telephone Record" on page 1-22.
msg
- A value indicating the terminal message to be processed. See "Terminal Messages" on page 5-9 for possible values for this parameter.
mtype
- A constant used by some messages to further categorize the type of activity that is generating the event.
value
- A constant used by some messages to provide specific details concerning the state of an activity.
globals
- A long integer for your use. You specify this value when you register the message handler, and the Telephone Manager passes the value unchanged to your message handler. You can use this value, for example, to access your application's global variables.
DESCRIPTION
Once you register your message handler and specify which messages to it should receive, the Telephone Manager passes those messages to your message handler.SEE ALSO
Use theTELTermMsgHand
function (page 5-50) to register a terminal message handler.Terminal messages are described in "Terminal Messages" on page 5-9.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help